﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Qiang.Topology.Geometries
{
    public interface IEnvelope
    {

        #region 属性

        bool IsNull { get; }

        double MinX { get; }

        double MinY { get; }

        double MaxX { get; }

        double MaxY { get; }

        double Width { get; }

        double Height { get; }

        #endregion


        #region 方法

        bool Intersects(IEnvelope other);


        bool Contains(Coordinate p);


        bool Contains(double x, double y);



        bool Contains(IEnvelope other);

        double Distance(IEnvelope env);
      
     

        #endregion

    }
}
